﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication1
{
    public class GetWeight
    {
        public int NWeight;

        public int GetWeightofPresent(Presents A, Presents B, Presents C, Presents D, Presents E, Presents F)
        {
            NWeight = A.Weight + B.Weight + C.Weight + D.Weight + E.Weight + F.Weight;
            return NWeight;
        }
    }
}
